home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
60750
/
60750.xpi
/
surfcanyon_sc.xpi
/
content
/
script-compiler-overlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-11-13
|
3KB
|
51 lines
<?xml version="1.0"?>
<overlay xmlns='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'>
<script type='application/x-javascript' src='chrome://surfcanyon/content/xmlhttprequester.js'></script>
<script type='application/x-javascript' src='chrome://surfcanyon/content/script-compiler.js'></script>
<script type='application/x-javascript' src='chrome://surfcanyon/content/sc_shareaholic.js'></script>
<script>
function surfcanyon_openprefs() {
window.open("http://my.surfcanyon.com");
}
function surfcanyon_openshare() {
window.open("http://www.surfcanyon.com/share");
}
function surfcanyon_openfeedback() {
window.open("http://www.surfcanyon.com/feedback");
}
function surfcanyon_opencontact() {
window.open("http://www.surfcanyon.com/contact");
}
</script>
<menupopup id="menu_ToolsPopup">
<menu id="surfcanyon-menuitem" label="Surf Canyon" class="menu-iconic" image="chrome://surfcanyon/content/favicon.ico" insertafter="devToolsSeparator">
<menupopup id="surfcanyon-menupopup">
<menuitem class="menuitem-iconic" label="Options..." oncommand="surfcanyon_openprefs();" />
<menuitem class="menuitem-iconic" label="Tell Your Friends..." oncommand="surfcanyon_openshare();" />
<menuitem class="menuitem-iconic" label="Help and Feedback..." oncommand="surfcanyon_openfeedback();" />
<menuitem class="menuitem-iconic" label="Contact Us..." oncommand="surfcanyon_opencontact();" />
</menupopup>
</menu>
</menupopup>
<!-- Shareaholic -->
<hbox id="urlbar-icons">
<button id="surfcanyon-urlbar-main" tooltiptext="Surf Canyon Sharing..." style="-moz-user-focus: none;"
class="plain urlbar-icon" type="menu" insertbefore="feed-button" onclick="event.stopPropagation();">
<menupopup id="surfcanyon-urlbar-menu" onpopupshown="surfcanyon_SHR_library.makeshort();">
<menuitem label="Surf Canyon Sharing..." tooltiptext="Surf Canyon Sharing..." class="surfcanyon-urlbar-title " />
<menuitem label="Share with Email" tooltiptext='Send with Default Email Program' accesskey='M' class="menuitem-iconic menu-iconic" image="chrome://surfcanyon/content/mailto.png" oncommand='surfcanyon_SHR_library.dest_mailto();' />
<menuitem label="Share with Facebook" tooltiptext="Share with Facebook" accesskey='F' class="menuitem-iconic menu-iconic" image="chrome://surfcanyon/content/facebook.png" oncommand='surfcanyon_SHR_library.destination(5,1,false);' />
<menuitem label="Share with Gmail" tooltiptext="Share with Gmail" accesskey='G' class="menuitem-iconic menu-iconic" image="chrome://surfcanyon/content/gmail.png" oncommand='surfcanyon_SHR_library.destination(52,1,false);' />
<menuitem label="Share with Twitter" tooltiptext='Share with Twitter' accesskey='T' class="menuitem-iconic menu-iconic" image="chrome://surfcanyon/content/twitter.png" oncommand='surfcanyon_SHR_library.destination(7,1,true);' />
<menuseparator />
<menuitem label="More Sharing Options..." tooltiptext='More Sharing Options...' accesskey='S' class="menuitem-iconic menu-iconic" image="chrome://surfcanyon/content/shareaholic_16x16.png" oncommand='surfcanyon_SHR_library.opennewtab("http://www.surfcanyon.com/shareaholic.jsp");' />
<menuseparator />
<menuitem label="Remove This..." tooltiptext='Remove This...' class="menuitem-iconic menu-iconic" oncommand='(new SurfCanyonMisc()).removeFromUrlBar();' />
</menupopup>
</button>
</hbox>
</overlay>